LONG Fchown( char *name, WORD uid, WORD gid );
Only a process with effective uid 0 or whose effective uid matches the user ownership of the file may make this call. In the latter case, the new uid must match the old one, and the calling process must also be a member of the group specified by gid.
EACCDN if the calling process has an effective uid which differs from the owner of the file and which is not 0.
EINVFN if the file system on which the file is located does not support a notion of ownership. (This is true of the normal TOS file system.)
EFILNF if the file is not found
EPTHNF if the path to the file is not found.
In practice, the call is useful only to processes with effective uid 0.